package security.encrypts

import java.util.Base64

class Exchange {
  def base642Byte(encodedText: String) = Base64.getDecoder.decode(encodedText)

  def byte2Base64(textByte: Array[Byte]) = Base64.getEncoder.encodeToString(textByte)

}
